package com.huishao.api.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页查询返回对象
 *
 * @author huishao
 * @since 2022-12-29 15:29:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult implements Serializable {
    private static final long serialVersionUID = 1L;
    //总记录数
    private int total;

    //列表数据
    private List<?> list;

}

